package org.demo.patten.state;

/**
 * @author zhuj
 * @date 2025/3/29
 * @apiNote
 */
public class SubmittedState implements OrderState {
    public void handle(OrderContext context) {
        System.out.println("当前状态：已提交，开始支付...");
        context.setState(new PaidState());
    }
}